package com.ruoyi.csdn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * CSDN账户管理对象 biz_csdn_user
 *
 * @author ruoyi
 * @date 2024-12-30
 */
public class CsdnUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** csdn用户名 */
    @Excel(name = "csdn用户名")
    private String csdnUsername;

    /** csdn账号 */
    @Excel(name = "csdn账号")
    private String csdnUserId;

    /** csdn密码 */
    @Excel(name = "csdn密码")
    private String csdnPassword;

    /** 客户端ID */
    @Excel(name = "客户端ID")
    private String client;

    /** 账号状态(0-启用1-停用) */
    @Excel(name = "账号状态(0-启用1-停用)")
    private String userStatus;

    /** 删除标志(0代表存在2代表删除) */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCsdnUsername(String csdnUsername)
    {
        this.csdnUsername = csdnUsername;
    }

    public String getCsdnUsername()
    {
        return csdnUsername;
    }
    public void setCsdnPassword(String csdnPassword)
    {
        this.csdnPassword = csdnPassword;
    }

    public String getCsdnUserId(){
        return csdnUserId;
    }

    public void setCsdnUserId(String csdnUserId) {
        this.csdnUserId = csdnUserId;
    }

    public String getCsdnPassword()
    {
        return csdnPassword;
    }
    public void setClient(String client)
    {
        this.client = client;
    }

    public String getClient()
    {
        return client;
    }
    public void setUserStatus(String userStatus)
    {
        this.userStatus = userStatus;
    }

    public String getUserStatus()
    {
        return userStatus;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("csdnUsername", getCsdnUsername())
            .append("csdnUserId", getCsdnUserId())
            .append("csdnPassword", getCsdnPassword())
            .append("client", getClient())
            .append("userStatus", getUserStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
